package service.impl;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class UserServicelmpl implements UserService{

    @Override
    public List<User> findAll() {
        //TODD
        UserDao userDao=new UserDaoImpl();
        List<User> user =userDao.findAll();
        return user;
    }
}
